<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
  <title>Title</title>
  <script src="dist/bundle.js"></script>
  <script>
      function reload(){
          location.reload();
      }
      function openLog() {
          MD_LOGSET('isLogging',true);
          reload();
      }
      function closeLog() {
          MD_LOGSET('isLogging',false);
          reload();
      }
      function testLog() {
          MD_LOGSET('showRule','*:test流程:*');
          openLog();
      }
      function allLog() {
          MD_LOGSET('showRule','*:*:*');
          openLog();
      }
  </script>
</head>
<body>
<div>
  请打开控制台后查看效果
</div>
<div>
  macos: option + command + i
  windows: F12
</div>
<button onclick="openLog()">打开日志</button>
<button onclick="closeLog()">关闭日志</button>
<button onclick="testLog()">只查看test流程</button>
<button onclick="allLog()">查看全部日志</button>
</body>
</html>